package com.shundr.route.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "TruckerRouteInfo")
public class TruckerRouteInfo implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	* 
	*/
	@DatabaseField(id = true)
	public Integer id;

	/**
	 * 用户ID
	 */
	@DatabaseField
	public Integer userId;

	/**
	* 
	*/
	@DatabaseField
	public Integer cargoSrcCode;

	/**
	* 
	*/
	@DatabaseField
	public String cargoSrcPlace;

	/**
	* 
	*/
	@DatabaseField
	public Integer cargoDstCode;

	/**
	* 
	*/
	@DatabaseField
	public String cargoDstPlace;

	/**
	* 
	*/
	@DatabaseField
	public String cargoCategory;

	/**
	* 
	*/
	@DatabaseField
	public Integer cargoTruckTypeCode;

	/**
	* 
	*/
	@DatabaseField
	public String cargoTruckType;

	/**
	* 
	*/
	@DatabaseField
	public String cargoTruckLength;

	/**
	 * 货物载重
	 */
	@DatabaseField
	public String cargoAmount;

	/**
	 * 是否接单，0-停止接单，1-开始接单
	 */
	@DatabaseField
	public Short userStatus;

	/**
	* 
	*/
	@DatabaseField
	public Integer recommendCount;

	/**
	* 
	*/
	@DatabaseField
	public String updateTime;

	/**
	 * 上次推荐时间
	 */
	@DatabaseField
	public String lastRecommendTime;
	
	private boolean selected;

	// Constructors

	/** default constructor */
	public TruckerRouteInfo() {
	}

	/** full constructor */
	public TruckerRouteInfo(Integer userId, Integer cargoSrcCode,
			String cargoSrcPlace, Integer cargoDstCode, String cargoDstPlace,
			String cargoCategory, Integer cargoTruckTypeCode,
			String cargoTruckType, String cargoTruckLength, String cargoAmount,
			Short userStatus, Integer recommendCount, String updateTime,
			String lastRecommendTime) {
		this.userId = userId;
		this.cargoSrcCode = cargoSrcCode;
		this.cargoSrcPlace = cargoSrcPlace;
		this.cargoDstCode = cargoDstCode;
		this.cargoDstPlace = cargoDstPlace;
		this.cargoCategory = cargoCategory;
		this.cargoTruckTypeCode = cargoTruckTypeCode;
		this.cargoTruckType = cargoTruckType;
		this.cargoTruckLength = cargoTruckLength;
		this.cargoAmount = cargoAmount;
		this.userStatus = userStatus;
		this.recommendCount = recommendCount;
		this.updateTime = updateTime;
		this.lastRecommendTime = lastRecommendTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getCargoSrcCode() {
		return this.cargoSrcCode;
	}

	public void setCargoSrcCode(Integer cargoSrcCode) {
		this.cargoSrcCode = cargoSrcCode;
	}

	public String getCargoSrcPlace() {
		return this.cargoSrcPlace;
	}

	public void setCargoSrcPlace(String cargoSrcPlace) {
		this.cargoSrcPlace = cargoSrcPlace;
	}

	public Integer getCargoDstCode() {
		return this.cargoDstCode;
	}

	public void setCargoDstCode(Integer cargoDstCode) {
		this.cargoDstCode = cargoDstCode;
	}

	public String getCargoDstPlace() {
		return this.cargoDstPlace;
	}

	public void setCargoDstPlace(String cargoDstPlace) {
		this.cargoDstPlace = cargoDstPlace;
	}

	public String getCargoCategory() {
		return this.cargoCategory;
	}

	public void setCargoCategory(String cargoCategory) {
		this.cargoCategory = cargoCategory;
	}

	public Integer getCargoTruckTypeCode() {
		return this.cargoTruckTypeCode;
	}

	public void setCargoTruckTypeCode(Integer cargoTruckTypeCode) {
		this.cargoTruckTypeCode = cargoTruckTypeCode;
	}

	public String getCargoTruckType() {
		return this.cargoTruckType;
	}

	public void setCargoTruckType(String cargoTruckType) {
		this.cargoTruckType = cargoTruckType;
	}

	public String getCargoTruckLength() {
		return this.cargoTruckLength;
	}

	public void setCargoTruckLength(String cargoTruckLength) {
		this.cargoTruckLength = cargoTruckLength;
	}

	public String getCargoAmount() {
		return this.cargoAmount;
	}

	public void setCargoAmount(String cargoAmount) {
		this.cargoAmount = cargoAmount;
	}

	public Short getUserStatus() {
		return this.userStatus;
	}

	public void setUserStatus(Short userStatus) {
		this.userStatus = userStatus;
	}

	public Integer getRecommendCount() {
		return this.recommendCount;
	}

	public void setRecommendCount(Integer recommendCount) {
		this.recommendCount = recommendCount;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getLastRecommendTime() {
		return this.lastRecommendTime;
	}

	public void setLastRecommendTime(String lastRecommendTime) {
		this.lastRecommendTime = lastRecommendTime;
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean selected) {
		this.selected = selected;
	}

}